package com.java.userservice.dao;

import com.java.userservice.model.UserRole;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleMapper {
    List<UserRole> list(UserRole userRole);

    void save(UserRole userRole);

    void removeByUserId(int adminId);
}
